package com.ins.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 认证记录 实体类。
 *
 * @author ins
 * @since 2024-05-14
 */
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Data(staticConstructor = "of")
@Table(value = "app_aut")
public class AppAut extends BaseEntity<AppAut> implements Serializable {

    @Serial
    private static final long serialVersionUID = 6444418497733297538L;

    /**
     * 用户id
     */
    @Column(value = "user_id")
    private Long userId;

    /**
     * 认证真实姓名
     */
    @Column(value = "name")
    private String name;

    /**
     * 认证证件号吗
     */
    @Column(value = "id_card_no")
    private String idCardNo;

    /**
     * 认证地址
     */
    @Column(value = "address")
    private String address;

    /**
     * 认证类型，1证件，2人脸识别
     */
    @Column(value = "type")
    private Integer type;

    /**
     * 认证日期
     */
    @Column(value = "aut_date")
    private LocalDateTime autDate;

    /**
     * 认证照片1 身份证 正面
     */
    private String imgOne;
    /**
     * 认证照片2 身份证 反面
     */
    private String imgTwo;
    /**
     * 认证照片3 营业执照
     */
    private String imgThree;
    /**
     * 认证照片4 其他照片
     */
    private String imgFour;

    /**
     * 认证状态1是 0否
     */
    @Column(value = "status")
    private Integer status;


}
